html,
body {
    width: 100%;
    height: 100%;
    background: #F6F6F6;
    position: relative;
}

.container {
    width: 1000px;
    margin: 0 auto;
}

/* 清浮动 */
.clearfix::after {
    display: block;
    content: '';
    clear: both;
    height: 0;
}

.clearfix {
    zoom: 1;
}

/* 浮动 */
.fl {
    float: left;
}

.fr {
    float: right;
}

/* 头部 */
#header {
    height: 40px;
    line-height: 40px;
    padding-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(233, 98, 98);
    margin-bottom: 10px;

    img {
        width: 35px;
        height: 35px;
    }

    h2 {
        font-size: 28px;
        margin-left: 15px;
    }

    p,
    a {
        font-size: 12px;
        color: rgb(126, 126, 126);
        margin-left: 15px;
        font-size: 14px;
    }

    a {
        &:hover {

            color: rgb(89, 89, 214);
            cursor: pointer;
        }
    }

}
/* 商品列表 */ 
#product-show {
    background: #fff;
    padding-bottom: 20px;
    table {
        tr {
            line-height: 100px;
            text-align: center;
            border-bottom: 1px dashed rgb(192, 192, 192);
            :nth-child(1) {
                width: 60px;
            }

            :nth-child(2) {
                width: 400px;
                text-align: left;
            }

            :nth-child(3) {
                width: 100px;
            }

            :nth-child(4) {
                width: 250px;
            }

            :nth-child(5) {
                width: 100px;
            }

            td {
                img {
                    width: 50px;
                    margin-right: 5px;
                }

                input[name='minus'],
                input[name='plus'] {
                    width: 20px;
                    text-align: center;
                    background-color: #f1ebeb;
                    margin-right: -5px;
                }

                input[name='amount'] {
                    width: 50px;
                    text-align: center;
                }

                .deleteBtn {
                    color: rgb(134, 134, 134);
                }
            }
            .title {
                position: relative;
                span {
                    position: absolute;
                    top: 5px;
                    display: inline-block;
                    width: 300px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

            }

            .singleprice,
            .price {
                color: rgb(238, 68, 68);
            }
        }
    }
}
/* 结算 */ 
#settlement{
    margin-top: 20px;
    height: 40px;
    line-height: 40px;
    background: #fff;
    color: rgb(177, 176, 176);
    font-size: 12px;
    .wrap{
        .shopping{
            font-size: 14px;
            margin: 20px;
            color: rgb(112, 117, 160);
            cursor: pointer;
            &:hover{
                color: rgb(243, 109, 109);
            }
        }
        // :nth-child(2),:nth-child(3){
        //     color: rgb(243, 105, 105);
        // }
        :nth-child(2){
            color: rgb(243, 105, 105);
            span{
                font-size: 16px;
                color: rgb(243, 105, 105);
                margin-left: 5px;
                margin-right: 5px;
            }
            button{
                margin-left: 10px;
                border: none;
                background: rgb(243, 105, 105);
                color: #fff;
                height: 40px;
                width: 100px;
                line-height: 40px;
            }
        }
    }
}